 package cn.exrick.xboot.modules.assessment.dao;

 import cn.exrick.xboot.base.XbootBaseDao;
 import cn.exrick.xboot.modules.assessment.entity.HkFormRelationShip;
 import org.springframework.data.jpa.repository.Query;

 import java.util.List;


 /**
  * 表单表单项关联表数据处理层
  * @author yck
  */
 public interface HkFormRelationShipDao extends XbootBaseDao<HkFormRelationShip, String> {
    void deleteByFormId(String formId);

    List<HkFormRelationShip> findAllByItemId(String itemId);

     List<HkFormRelationShip> findByFormIdOrderBySortNumberAsc(String formId);
     List<HkFormRelationShip> findByItemId(String itemId);
 }